package com.dayuanit.booksystem.v2.dao;

import com.dayuanit.booksystem.v2.entity.Publisher;

public interface PublisherDao {

    long add(String name, String address);

    Publisher getPublisherById(long id);

    Publisher getPublisherByName(String name);

    int updatePublisherAddress(long publisherId, String address);
}
